<%-- 
    Document   : buyinputdeviceinfo
    Created on : 2010-3-10, 13:40:50
    Author     : fengbj
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http ://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="description" content="xxxxxxxxxxxxxxxxxxx" />
        <meta name="keywords" content="xxxxxxxxxxxxxxxx" />
        <meta name="robots" content="all" />
        <link rel="stylesheet" type="text/css" href="style/style.css" />
        <title>2-6</title>
    </head>
    <body>
        <div class="pays">
            <!--页头-->
            <jsp:include page="common/head.jsp"/>
            <jsp:include page="common/navBar.jsp"/>
            <!--主盒子-->
            <div class="paysMain">
                <jsp:include page="common/mainleft.jsp"/>
                <div class="mainright">
                    <div class="tipZone">
                        <div class="leftTopimg"></div>

                        <div class="tipZoneBkleft"></div>
                        <div class="tipZoneBkright"></div>
                        <div class="steps">
                            <div class="steps11"></div>
                            <div class="steps22"></div>
                            <div class="steps333"></div>
                            <div class="steps44"></div>
                            <div class="steps55"></div>
                        </div>

                        <div class="tipregion"> <img class="tipsIocn" src="images/tipsIcon.gif"/>
                            <p>请输入您的导航仪的信息</p>
                            <p class="bluetip">请准确输入以下信息，如果和您的导航仪不一致，您的导航仪将无法正常使用。</p>
                        </div>
                    </div>
                    <div class="adpaysMain4">
                        <div  class="adpaysMainleft"></div>

                        <div  class="adpaysMainright"></div>
                        <div  class="confirmation">
                            <div class="confirmationin">
                                <table>
                                    <tr>
                                        <th>确认您的导航仪信息：</th>
                                    </tr>
                                    <tr>

                                        <th>厂商</th>
                                        <td><select name="brand" id="corp">
                                            </select></td>
                                    </tr>
                                    <tr>

                                        <th>品牌</th>
                                        <td><select name="brand" id="brand">
                                            </select></td>
                                    </tr>
                                    <tr>
                                        <th>型号</th>
                                        <td><select name="brand" id="deviceModel">
                                            </select></td>

                                    </tr>
                                    <tr>
                                        <th>设备码</th>
                                        <td><input type="text" class="textfield2" id="deviceId" maxlength="16"/>
                                            <a href="">什么是设备码？</a></td>
                                    </tr>
                                </table>
                                <table>

                                    <tr>
                                        <th>确认您的购买的服务：</th>
                                    </tr>
                                    <tr>
                                        <th>服务</th>
                                        <td><select name="brand" id="price">
                                                <option class="AA" value="299.00">终身期服务</option>

                                                <option class="BB" value="99.00">一年期服务</option>
                                                <option class="CC" value="50.00">半年期服务</option>
                                            </select>
                                            <span>￥<span id="priceSpan">${price}</span>元</span> </td>
                                    </tr>
                                </table>
                                <div class="btnOk3">

                                    <div class="btnOk2">
                                        <div class="btnBkleft"></div>
                                        <div class="btnBkcenter" id="submit">确定</div>
                                        <div class="btnBkright"></div>
                                    </div>
                                    <div class="btnOk2">
                                        <div class="btnBkleft"></div>
                                        <div class="btnBkcenter"><a href="/buySerialIndex.action">上一步</a></div>

                                        <div class="btnBkright"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <jsp:include page="common/foot.jsp"/>
        <jsp:include page="common/js.jsp"/>
        <script>
            mapbar.pay.device.getCorp("corp");
            $("#price").change(function(){
                $("#priceSpan").html($(this).val());
            })
            $("#price >option[value='${price}']").attr("selected" , true);
            $("#submit").click(function(){

               if(mapbar.pay.activationcode.normalDeviceIdCheck()){
                   alert("购买");
               }
            });
        </script>
    </body>
</html>
